package t327.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import t327.pojo.ProductionPlan;

import java.util.List;

public interface ProductionPlanmapper {
    List<ProductionPlan> queryAll();

    @Select("select * from production_plan where production_plan_id=#{arg0}")
    ProductionPlan queryProductionPlan(Long productionPlanId);

    int logicDeleteProductionPlanById(@Param("productionPlanId") Long productionPlanId);

    int addproductionplan(ProductionPlan productionPlan);

    int updateproductionplan(ProductionPlan productionPlan);

}
